package com.wing.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.common.utils.PageResult;
import com.wing.product.model.entity.WarehouseProduct;
import com.wing.product.model.response.WarehouseProductVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface WarehouseProductDao extends BaseMapper<WarehouseProduct> {
    List<WarehouseProductVO> list4app(@Param("page") Page<WarehouseProduct> page, @Param("params") Map<String, Object> params);
    List<WarehouseProductVO> list4appTwo(@Param("page") Page<WarehouseProduct> page, @Param("params") Map<String, Object> params);
    List<WarehouseProductVO> selectProduct(@Param("warehouseSignsOrderId") String warehouseSignsOrderId);

    WarehouseProductVO selectProductPrice(@Param("productId")String productId);

    List<WarehouseProduct> findBbyProductCode(String productCode);
}